package com.lys.eduservice.mapper;

import com.lys.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lys.eduservice.entity.frontvo.CourseWebVo;
import com.lys.eduservice.entity.vo.CoursePublishVo;
import com.lys.eduservice.entity.vo.CourseQuery;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author Lyyyys
 * @since 2021-04-30
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    CoursePublishVo getCoursePublishVoByCourseId(String id);

    List<EduCourse> getHotCourseLimit();

    CourseWebVo getBaseCourseInfo(String courseId);
}
